import router from "./router";
//import store from './store'
//import {getToken} from "./utils/token";

const whiteList = ['/login']// 不重定向白名单
router.beforeEach(async (to,from,next) =>{
    const token = '123';
    console.log("token  "+to.path)
    if (token){
        next()
    }
})